<template>
  <el-row>
    <div class="ctlBox">
      <el-switch v-model="selVal"
                 :active-text="question.activeText"
                 :inactive-text="question.inactiveText">
      </el-switch>
    </div>
  </el-row>
</template>

<script>
  export default {
    name: "view-i-switch",
    props: ['question'],
    data(){
      return {
        selVal:false
      }
    },
    created() {
      //console.log(this.question)
    },
    methods: {}
  }
</script>

<style lang="scss">
  .ctlBox{
    margin:4px 8px;
  }
</style>
